package org.itboys.basetemplate.entity;

import org.mongodb.morphia.annotations.Entity;
import org.itboys.mongodb.entity.BaseLongIdEntity;

/**
 * 代金券规则
 * 
 * @author ok
 * 
 */
@Entity(value = "VoucherRule", noClassnameStored = true)
public class VoucherRule extends BaseLongIdEntity {

	private static final long serialVersionUID = 7017150962967710216L;

	private Long centerId;
	private String name; // 折扣券规则名称
	private Long voucherId; // 折扣券Id
	private String remark; // 备注
	private Integer status = 0; // 是否开启

	private String voucherName; //折扣券名称
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getVoucherId() {
		return voucherId;
	}

	public void setVoucherId(Long voucherId) {
		this.voucherId = voucherId;
	}

	public String getVoucherName() {
		return voucherName;
	}

	public void setVoucherName(String voucherName) {
		this.voucherName = voucherName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getCenterId() {
		return centerId;
	}

	public void setCenterId(Long centerId) {
		this.centerId = centerId;
	}

}
